{% extends 'base.html' %}
{% block title %}{{ posts.0.category.name }}{% endblock %}
{% block main %}
    <div class="content-wrap">
        <div id="content" class="content">
          <section id="posts" class="posts-collapse">
            <div class="collection-title">
              <h2>
                Reading List
                <small>分类</small>
              </h2>
            </div>
              {% for post in posts %}
              <article class="post post-type-normal">
                <header class="post-header">
                  <h1 class="post-title">
                        <a class="post-title-link" href="{{ post.get_absolute_url }}">
                            <span >{{ post.title }}</span>
                        </a>
                  </h1>
                  <div class="post-meta">
                    <time class="post-time" datetime="{{ post.publish }}" content="{{ post.publish|date:'Y-m-d'}}">
                      {{ post.publish|date:'m-d' }}
                    </time>
                  </div>
                </header>
              </article>
              {% endfor %}
            </section>
 {% if is_paginated %}
     {% include 'blog/pagination.html' with page_obj=page_obj first=first left=left right=right last=last left_has_more=left_has_more right_has_more=right_has_more %}
 {% endif %}
        </div>
    </div>
{% endblock %}